package com.juneyaoair.search.response.enums;


/**
 * code枚举
 * @author :master
 * @date :20200910
 */
public enum CodeEnum {

    /** 成功返回code */
    SUCCESS("0", "成功"),
    /** 请求错误返回code */
    BAD_REQUEST_CODE("400", "请求错误"),
    /** 失败返回code */
    SYSTEM_ERROR_CODE("500", "操作失败");

    private String code;

    private String message;

    CodeEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
